Main Page | Class List | Class Members

connect_resp Struct Reference

Outlines the outcome of a client connection attempt. More...

#include <BustaNetInternal.h>

List of all members.

Public Attributes

bool accept
 Notes the success or failure of the connection attempt.
char * message
 Contains the details of the connection success or failure.
int playerID
 Player Identification number on successful connection.


Detailed Description

Outlines the outcome of a client connection attempt.

Structure containing information regarding the outcome of a client trying to connect to a BustaSandwich multiplayer server.


Member Data Documentation

bool connect_resp::accept
 

Notes the success or failure of the connection attempt.

This variable has a value of true when the connection attempt is successful and false on connection failure.

char * connect_resp::message
 

Contains the details of the connection success or failure.

This string contains a message denoting the details of the connection attempt. On a connection success, the message simply states that the connection was successful. On connection failures, the message contains information regarding the reason for failure.

int connect_resp::playerID
 

Player Identification number on successful connection.

On a successful connection, this is the player's identification number. This number if used to reference the player by the server. On a failed connection attemp, this integer holds the value -1.


Generated on Tue Jul 19 21:01:00 2005 for BustaSandwich by  doxygen 1.4.2-20050421